.app-head {
    z-index: 21;
    position: sticky;
    height: 60px;
    width: 100%;
    top: 0;
    background-color: #fff;

    .data {
        height: 100%;
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        align-items: center;

        .open {
            width: 40px;
            height: 40px;
            display: none;
            cursor: pointer;
            margin-left: 10px;

            @media (max-width: 996px) {
                display: block;
            }

            i {
                font-size: 28px;
                margin-top: 6px;
            }
        }

        .left {
            width: auto;
            height: 100%;
            display: flex;
            margin: 0 20px;
            align-items: center;
            justify-content: center;

            @media (max-width: 996px) {
                margin: 0 auto;
            }

            img {
                height: 50px;
                max-width: 100%;
                margin-top: 2px;

                @media (max-width: 480px) {
                    display: none;
                }
            }
        }

        .main {
            display: flex;
            flex: 1 0 0%;
            min-width: 0;
            height: 100%;
            align-items: center;

            @media (max-width: 996px) {
                display: block;
                position: fixed;
                width: 260px;
                height: 100%;
                top: 0;
                left: 0;
                z-index: 8;
                opacity: 0;
                background: #ffffff;
                transform: translateX(-260px);
                transition: all 0.3s ease-in-out;

                &.active {
                    left: 0;
                    opacity: 1;
                    z-index: 1051;
                    visibility: visible;
                    transform: translateX(0);
                }
            }

            .web-logo {
                display: none;
                height: 150px;
                line-height: 55px;
                text-align: center;
                background-size: 100%;
                position: relative;
                margin-bottom: 40px;
                background-image: url(@/static/img/nav_banner.jpg);

                .close {
                    position: absolute;
                    right: 12px;
                    top: 0;
                    color: #fff;

                    i {
                        cursor: pointer;
                        font-size: 22px;
                    }
                }

                .data {
                    z-index: 2;
                    bottom: -34px;
                    left: 30px;
                    width: 200px;
                    height: 70px;
                    display: flex;
                    background: #fff;
                    border-radius: 8px;
                    padding: 12px;
                    position: absolute;
                    box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, 0.22);

                    img {
                        width: 46px;
                        height: 46px;
                        display: inline-block;
                        border-radius: 4px;
                    }

                    .user {
                        p {
                            text-align: left;
                            line-height: 22px;
                            padding-left: 10px;
                        }

                        p:nth-last-child(1) {
                            font-size: 12px;
                            color: #8F9BAD;
                        }
                    }
                }

                @media (max-width: 996px) {
                    display: block;
                }
            }

            .menu {
                display: flex;
                position: relative;
                margin-bottom: 0;

                @media (max-width: 996px) {
                    display: block;
                    margin-left: 60px;
                    line-height: 40px;
                }

                li {
                    color: #515365;
                    font-size: 13px;
                    display: block;
                    margin: 0 16px;
                    position: relative;

                    &:hover {
                        &:after {
                            opacity: 1;
                            -webkit-transform: scaleX(1);
                            transform: scaleX(1);
                        }
                    }

                    &:after {
                        content: '';
                        position: absolute;
                        bottom: -22px;
                        left: 0;
                        right: 0;
                        height: 3px;
                        transition: opacity 0.5s, -webkit-transform 0.5s;
                        transition: opacity 0.5s, transform 0.5s;
                        transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
                        border-radius: 6px 6px 0 0;
                        opacity: 0;
                        -webkit-transform: scaleX(0.25);
                        transform: scaleX(0.25);
                        background: var(--app-theme);

                        @media (max-width: 996px) {
                            display: none;
                        }
                    }
                }
            }
        }

        .right {
            display: flex;
            margin-right: 16px;
            align-items: center;

            .login {
                height: 36px;
                width: 36px;
                padding: 4px;
                display: flex;
                cursor: pointer;
                transition: 0.3s;
                align-items: center;
                border-radius: 50%;
                justify-content: center;
                background-color: var(--app-theme);

                &:hover {
                    opacity: 0.7;
                }

                i {
                    color: #fff;
                    font-size: 20px;
                }
            }
        }
    }
}